<html>
  <head>
    <title>一个 Flex 布局，轻松杀死‘三列均分’的三大难题</title>
    <style>
      .container {
        display: flex;
        background-color: wheat;
      }

      .item {
        flex: 1; /* 关键！均分剩余空间 */
        border: 1px solid #ccc;
        text-align: center;
        padding: 20px;
        background-color: aliceblue;
        border: 1px solid;
        margin: 5px;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="item">士1</div>
      <div class="item">士2</div>
      <div class="item">士3</div>
    </div>
  </body>
</html>
